Ext.onReady(function () {
    Ext.QuickTips.init();
    Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
    var tree = new Ext.ux.tree.TreeGrid({
        title: 'Core Team Projects',
        width: 500,
        height: 300,
        enableDD: true,

        columns: [{
            header: 'Name',
            dataIndex: 'name__c',
            width: 230
        }, {
            header: 'Hour',
            width: 100,
            dataIndex: 'hour',
            align: 'center',
        }, {
            header: 'Assigned To',
            width: 150,
            dataIndex: 'assignee'
        }],

        dataUrl: 'SprintDetail2.aspx',
        requestMethod: 'GET'
    });
    var viewport = new DefaultScrumViewport({
        center: { title: 'Backlog List', treeGridPanel: tree }
    });
});
